{% extends 'airshow/base.html' %}
{% load static %}

{% block title %}删除确认 - {{ table }}{% endblock %}

{% block content %}
<div class="container mt-4">
    <div class="card">
        <div class="card-header bg-danger text-white">
            <h4>删除确认</h4>
        </div>
        <div class="card-body">
            <p class="card-text">您确定要删除这条记录吗？此操作不可撤销。</p>
            <form method="post">
                {% csrf_token %}
                <button type="submit" class="btn btn-danger">确认删除</button>
                <a href="{% url 'airshow:direct_data' table=table %}" class="btn btn-secondary">取消</a>
            </form>
        </div>
    </div>
</div>
{% endblock %} 